\section{Tools.RSACryption类参考}
\label{class_tools_1_1_r_s_a_cryption}\index{Tools::RSACryption@{Tools::RSACryption}}


RSA加密解密及RSA签名和验证  


\subsection*{公有成员}
\begin{DoxyCompactItemize}
\item 
void {\bf RSAKey} (out string xmlKeys, out string xmlPublicKey)
\begin{DoxyCompactList}\small\item\em RSA 的密钥产生 产生私钥 和公钥 \item\end{DoxyCompactList}\item 
string {\bfseries RSAEncrypt} (string xmlPublicKey, string m\_\-strEncryptString)\label{class_tools_1_1_r_s_a_cryption_aac9e8e8f8b92eef3987c24fbad1ee9aa}

\item 
string {\bfseries RSAEncrypt} (string xmlPublicKey, byte[$\,$] EncryptString)\label{class_tools_1_1_r_s_a_cryption_a870fc5b3c7b58f13729651bb84f9f28a}

\item 
string {\bfseries RSADecrypt} (string xmlPrivateKey, string m\_\-strDecryptString)\label{class_tools_1_1_r_s_a_cryption_ae950139e8d60b61415f506fa2d097265}

\item 
string {\bfseries RSADecrypt} (string xmlPrivateKey, byte[$\,$] DecryptString)\label{class_tools_1_1_r_s_a_cryption_a4ba58a6f3ef74e0f00b30068fab2bf28}

\item 
bool {\bfseries GetHash} (string m\_\-strSource, ref byte[$\,$] HashData)\label{class_tools_1_1_r_s_a_cryption_a2114bd4c6e483cd315c35f074a40461c}

\item 
bool {\bfseries GetHash} (string m\_\-strSource, ref string strHashData)\label{class_tools_1_1_r_s_a_cryption_a27634fae2c70378c74c7af3b8a3671f9}

\item 
bool {\bfseries GetHash} (System.IO.FileStream objFile, ref byte[$\,$] HashData)\label{class_tools_1_1_r_s_a_cryption_af605f9f6c57f3a490894b94132824f1d}

\item 
bool {\bfseries GetHash} (System.IO.FileStream objFile, ref string strHashData)\label{class_tools_1_1_r_s_a_cryption_a703136079e3c1e1b9282b21dff91c00c}

\item 
bool {\bfseries SignatureFormatter} (string p\_\-strKeyPrivate, byte[$\,$] HashbyteSignature, ref byte[$\,$] EncryptedSignatureData)\label{class_tools_1_1_r_s_a_cryption_ad7a55b36e874848c42d29c2b1745b4df}

\item 
bool {\bfseries SignatureFormatter} (string p\_\-strKeyPrivate, byte[$\,$] HashbyteSignature, ref string m\_\-strEncryptedSignatureData)\label{class_tools_1_1_r_s_a_cryption_a83803338b649137bd090fec5c19d1c7c}

\item 
bool {\bfseries SignatureFormatter} (string p\_\-strKeyPrivate, string m\_\-strHashbyteSignature, ref byte[$\,$] EncryptedSignatureData)\label{class_tools_1_1_r_s_a_cryption_a4a7878d22d2766d01efe5e8f7cb923f8}

\item 
bool {\bfseries SignatureFormatter} (string p\_\-strKeyPrivate, string m\_\-strHashbyteSignature, ref string m\_\-strEncryptedSignatureData)\label{class_tools_1_1_r_s_a_cryption_a6ecc041d89307dbb604312b6b2189dfc}

\item 
bool {\bfseries SignatureDeformatter} (string p\_\-strKeyPublic, byte[$\,$] HashbyteDeformatter, byte[$\,$] DeformatterData)\label{class_tools_1_1_r_s_a_cryption_a83e8221158bb5bb85f3f1069c8757c85}

\item 
bool {\bfseries SignatureDeformatter} (string p\_\-strKeyPublic, string p\_\-strHashbyteDeformatter, byte[$\,$] DeformatterData)\label{class_tools_1_1_r_s_a_cryption_a4957f407d4ddab436a470c24b26c3493}

\item 
bool {\bfseries SignatureDeformatter} (string p\_\-strKeyPublic, byte[$\,$] HashbyteDeformatter, string p\_\-strDeformatterData)\label{class_tools_1_1_r_s_a_cryption_af4e4f1bfc62042087a749f3130b8f456}

\item 
bool {\bfseries SignatureDeformatter} (string p\_\-strKeyPublic, string p\_\-strHashbyteDeformatter, string p\_\-strDeformatterData)\label{class_tools_1_1_r_s_a_cryption_ad6fb8a826642ed1acca4848e3a62d91a}

\end{DoxyCompactItemize}


\subsection{详细描述}
RSA加密解密及RSA签名和验证 

\subsection{成员函数文档}
\index{Tools::RSACryption@{Tools::RSACryption}!RSAKey@{RSAKey}}
\index{RSAKey@{RSAKey}!Tools::RSACryption@{Tools::RSACryption}}
\subsubsection[{RSAKey}]{\setlength{\rightskip}{0pt plus 5cm}void Tools.RSACryption.RSAKey (
\begin{DoxyParamCaption}
\item[{out string}]{ xmlKeys, }
\item[{out string}]{ xmlPublicKey}
\end{DoxyParamCaption}
)}\label{class_tools_1_1_r_s_a_cryption_aaf903414d0a517bb7e2cc17e7484a7d3}


RSA 的密钥产生 产生私钥 和公钥 


\begin{DoxyParams}{参数}
{\em xmlKeys} & \\
\hline
{\em xmlPublicKey} & \\
\hline
\end{DoxyParams}


该类的文档由以下文件生成：\begin{DoxyCompactItemize}
\item 
D:/Project/1101/Tools/EncryptHelper.cs\end{DoxyCompactItemize}
